package org.cmg.study.spring;

/**
 * @author CMG
 * @version 1.0
 * @cLassName HelloWorld
 * @description
 * @date 2021/8/31 16:12
 **/
public class HelloWorld {
    private String message;

    public String getMessage() {
        System.out.println("message : " + message);
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void init(){
        System.out.println("Bean正在进行初始化");
    }

    public void destroy(){
        System.out.println("Bean将要被销毁");
    }
}
